//
//  ServiceViewController.m
//  HeadYang
//
//  Created by sunmingming on 15/7/4.
//  Copyright (c) 2015年 xiaoluoli. All rights reserved.
//

#import "ServiceViewController.h"
#import "JianFaViewController.h"

@interface ServiceViewController ()<UIAlertViewDelegate>

@property(nonatomic,weak) IBOutlet UIScrollView *scrView;

-(IBAction)jianfaPressed:(id)sender;
-(IBAction)tangfaPressed:(id)sender;
-(IBAction)ranfaPressed:(id)sender;
-(IBAction)huliPressed:(id)sender;

@end

@implementation ServiceViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"服务";
    [self.scrView setContentSize:CGSizeMake(kDeviceWidth,490)];
    self.tabBarItem.image = [UIImage imageNamed:@"tabbaritem1"];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(IBAction)jianfaPressed:(id)sender
{
    APPALL.myType = hairJianFa;
    JianFaViewController *vc = [JianFaViewController new];
    [self.navigationController pushViewController:vc animated:YES];
}
-(IBAction)tangfaPressed:(id)sender
{
    APPALL.myType = hairTangFa;
    JianFaViewController *vc = [JianFaViewController new];
    [self.navigationController pushViewController:vc animated:YES];
}
-(IBAction)ranfaPressed:(id)sender
{
    APPALL.myType = hairRanFa;
    JianFaViewController *vc = [JianFaViewController new];
    [self.navigationController pushViewController:vc animated:YES];
}
-(IBAction)huliPressed:(id)sender
{
    APPALL.myType = hairHuli;
    JianFaViewController *vc = [JianFaViewController new];
    [self.navigationController pushViewController:vc animated:YES];
}

-(void)changeArea
{
    
}

@end
